package com.wql.aop01.service.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wql
 * @version 1.0
 * @date 2022/11/11 19:55
 */
@RestController
@RequestMapping("/aop")
public class WqlController {
    @GetMapping("get")
    public String getTest(){
        System.out.println("获得信息");
        return "getTest";
    }
    @PostMapping("post")
    public String postTest(){
        System.out.println("参数获得信息");
        return "postTest";
    }
}
